package com.tangtanwei.hotel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

@Data
@ToString
@Builder
@TableName("user")
@NoArgsConstructor
@AllArgsConstructor
public class User  implements Serializable {

	@TableId(type = IdType.ASSIGN_ID)
	private String id;

	private String name;

	private String password;

	private String phone;

	private String idcard;

	private String birthday;

}
